<template>
  <div class="slotProps">
    <ul>
      <li v-for="( item, index ) in items" :key="index">
        <slot :item="item" :index="index" ></slot>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "slotProps",
  data() {
    return {
        items:[1,2,3,4]
    };
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
</style>
